package com.dream.wukong.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author: wuyichao
 * @Description:
 * @Date: Created in 21:28 2018/9/4.
 * @Modified:
 */
@SpringBootApplication
@EnableConfigServer //启动配置服务
@EnableEurekaClient //开启服务发现的客户端
public class ConfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class,args);
    }
}
